package com.ruoyi.zyx.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.ZyxDevice;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备档案信息对象 zyx_record
 *
 * @author lhs
 * @date 2021-06-08
 */
public class ZyxRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 医院id 关联部门表 */
    @Excel(name = "医院id 关联部门表")
    private Long departid;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceid;

    /** 验收材料 */
    @Excel(name = "验收材料")
    private String checkdata;

    /** 供应商资料 */
    @Excel(name = "供应商资料")
    private String supplierdata;


    /** 附件 */
    @Excel(name = "附件")
    private String annex;


    /** 删除标记 */
    private String delFlag;

    private SysDept sysDept;
    private ZyxDevice zyxDevice;
    private String devicemodel;//设备型号
    private String officename;//科室名称
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDepartid(Long departid)
    {
        this.departid = departid;
    }

    public Long getDepartid()
    {
        return departid;
    }
    public void setDeviceid(Long deviceid)
    {
        this.deviceid = deviceid;
    }

    public Long getDeviceid()
    {
        return deviceid;
    }
    public void setCheckdata(String checkdata)
    {
        this.checkdata = checkdata;
    }

    public String getCheckdata()
    {
        return checkdata;
    }
    public void setSupplierdata(String supplierdata)
    {
        this.supplierdata = supplierdata;
    }

    public String getSupplierdata()
    {
        return supplierdata;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("departid", getDepartid())
            .append("deviceid", getDeviceid())
            .append("checkdata", getCheckdata())
            .append("supplierdata", getSupplierdata())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("annex",getAnnex())
            .toString();
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public ZyxDevice getZyxDevice() {
        return zyxDevice;
    }

    public void setZyxDevice(ZyxDevice zyxDevice) {
        this.zyxDevice = zyxDevice;
    }

    public String getDevicemodel() {
        return devicemodel;
    }

    public void setDevicemodel(String devicemodel) {
        this.devicemodel = devicemodel;
    }

    public String getOfficename() {
        return officename;
    }

    public void setOfficename(String officename) {
        this.officename = officename;
    }

    public String getAnnex() {
        return annex;
    }

    public void setAnnex(String annex) {
        this.annex = annex;
    }
}
